导航菜单
首页 >  How to use images in templates  > How to Add Image in Salesforce Email Template

How to Add Image in Salesforce Email Template

Add Image in Salesforce Email Template helps to attract the attention of the audience, increase the recognition of the brand, help readers to understand the content easily, and add a personal touch to the email.

In this Salesforce tutorial, I will let you know how to add images to email templates in Lightning and Classic in Salesforce.

Table of Contents

ToggleAdd Image in Salesforce Email Template

You all are aware that in Salesforce, there are two email template categories- Lightning Email Template and Classic Email Template. In these email template types, you can add images to customize the email template.

You can add an image as an attachment in various scenarios, such as to informe about the new release features or updates of the products by sending them the brochure, sending a regular newsletter, promoting a new product or service, etc.

To add the image in email templates in Salesforce, there are various ways as follows:

Email TemplateHow to Add Image to Email TemplateSalesforce Lightning Email TemplateThere are two ways to upload images in the lightning email template: either you can upload the image, or you can directly pass the url of the image.Salesforce Classic Email TemplateThere is no special feature for adding an image in the classic email template. Using the attachment option, you can upload the image only.

Let’s learn each way to add an image in the email template salesforce with the proper steps.

Add Images to Lightning Email Templates in Salesforce

As I mentioned above, you can add images to Lightning Email Templates in two different ways

Using Browser or Upload OptionUsing Web Image

Let’s discuss the steps of each of the ways.

Upload Image in Salesforce Lightning Email Template using Browser or Upload Option

In the Browser or Upload option, you can upload an image directly from your computer. This option is present in the dropdown menu of the Image button in the email editor.

Below are the steps to add the image to the email template in Lightning.

1. Navigate to the Setup in the Lightning interface. Then, click on App Launcher, search for Email Templates, and select it.

how to add image in email template salesforceAdd image to email template in Salesforce Lightning Example

2. You can either create a new lightning email template and add an image to it, or you can edit the existing email template and add an image to it.

If you want to create a new lightning email template, click on the New Email Template button.

If you want to edit the image in the existing email template, select the email template and click on the Edit button.

add images to email templates in salesforce lightning

3. To add an image, in the email editor toolbar, click on the Image icon; it will show you the two different ways to upload. Choose the Browse or Upload option.

how to add image in salesforce email template

4. The dialog box will open to select an image. If the image is already uploaded, search and select the name of the image file; otherwise, click on the Upload Image button to upload the image attachment from the computer.

add image to email template salesforce

5. Once you choose the image from the already existing images or upload the image from your system, click on the Insert button to add an image to the email template.

add image to classic email template salesforce

6. You can see that the image is successfully added. If you want you can adjust the size of the image by dragging its corners to fit it into a specific area of the email template.

Add the message content and click on the Save button to save the email template with an image.

how to add image in classic email template in salesforceSalesforce Lightning Email Templates Add Image From Web

Using the Web Image option, you can upload the image that is hosted on the website. In this option, you will enter the URL of the image that you want to add to the email template.

When an image is successfully added, Salesforce retrieves it from the website and adds it to the email template. Below are the steps to add images from the web to the lightning email template.

1. Go to the Setup, click on the App Launcher, and open Email Templates. Then, choose the email template to add an image or create a new email template.

After that, fill up the mandatory fields and enter the content message.

how to upload image in salesforce lightning

2. To add an image directly from the web, click on the Image icon on the toolbar and select the Web Image option.

how to add image in html email template in salesforce

3. To upload an image from the web directly, enter the Image URL that you want to add and the Image Description. After that, click on the Insert button.

image not showing in email template salesforce

4. An image will be added successfully. By dragging the image’s corners, you may adjust its size to fit it into a particular space on the email template. Then, click on the Save button.

salesforce lightning email templates

In this way, you can add an image to a lightning email template in Salesforce.

Add Image to Classic Email Template Salesforce

Below are the steps to add an image to the classic email template in both Salesforce Lightning and Salesforce Classic.

1. Navigate to the Setup and search for Classic Email Templates in the Quick Find.

add image to classic email template salesforce

2. Either create a new template or edit the already existing one to add an image as per the requirement. Then, click on the Attach File button under the attachments to add an image.

how to add image in classic email template in salesforce

3. Follow the below steps to add an image as an attachment:

Click on the Choose File button to select the file from your system. Make sure the file must be less than 25 MB.Then, click on the Attach File button to complete the upload process.Click on the Done button to return to the previous page to complete the progress of the upload.how to add image in html email template in salesforce

In this way, you can add the image to the classic email template in Salesforce.

Conclusion

I hope this article helps you add an image to your email template. I have explained the complete steps for adding images to Lightning and Classic email templates in Salesforce.

You may like to read:

How to Create Lightning Email Template in Salesforce LightningHow to create Visualforce Email Template in SalesforceHow to create clickable image in SalesforceHow to Display Image in Salesforce Screen FlowBijay KumarBijay Kumar

I am Bijay Kumar, the founder of SalesforceFAQs.com. Having over 10 years of experience working in salesforce technologies for clients across the world (Canada, Australia, United States, United Kingdom, New Zealand, etc.). I am a certified salesforce administrator and expert with experience in developing salesforce applications and projects. My goal is to make it easy for people to learn and use salesforce technologies by providing simple and easy-to-understand solutions. Check out the complete profile on About us.

相关推荐: